-
Home
-
ActivityPub
-
3.3.1
-
Code
-
Classes
- Comment
| Total Complexity |
82 |
| Dependencies |
3 |
| Dependents |
13 |
| Total lines |
643 |
| Lines of code |
329 |
| Logical lines of code |
159 |
| Comment lines |
216 |
| Methods |
25 |
| Properties |
0 |
Methods 25
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| url_to_commentid() |
A |
47 |
9 |
36 |
| enqueue_scripts() |
A |
47 |
8 |
37 |
| should_be_federated() |
S |
54 |
7 |
22 |
| comment_query() |
S |
58 |
7 |
15 |
| are_comments_allowed() |
S |
56 |
6 |
18 |
| comment_reply_link() |
S |
56 |
5 |
18 |
| object_id_to_comment() |
S |
59 |
3 |
15 |
| get_source_id() |
S |
64 |
4 |
9 |
| get_source_url() |
S |
64 |
4 |
9 |
| was_received() |
S |
63 |
3 |
11 |
| was_sent() |
S |
63 |
3 |
11 |
| is_local() |
S |
70 |
3 |
6 |
| remote_comment_link() |
S |
68 |
3 |
7 |
| get_comment_type_attr() |
S |
64 |
3 |
9 |
| get_comment_type() |
S |
62 |
2 |
11 |
| register_comment_types() |
S |
53 |
1 |
26 |
| post_has_remote_comments() |
S |
56 |
1 |
20 |
| comment_class() |
S |
69 |
2 |
6 |
| generate_id() |
S |
66 |
2 |
8 |
| init() |
S |
63 |
1 |
9 |
| create_fediverse_reply_link() |
S |
64 |
1 |
9 |
| get_comment_types() |
S |
77 |
1 |
4 |
| is_registered_comment_type() |
S |
72 |
1 |
5 |
| get_comment_type_names() |
S |
78 |
1 |
3 |
| get_avatar_comment_types() |
S |
72 |
1 |
5 |